const isCustom = true
const isDev = process.env.NODE_ENV !== 'production'

// const apiBaseHost = isDev ? 'http://zhongbao.com' : 'https://zb.itour.fun'
const apiBaseHost = 'https://mi.jingjin.site'
const apiBaseUrl = '/api'
const build = 2

const logourl = 'http://qingclouds-server.oss-cn-shanghai.aliyuncs.com/d99623b8f993d245/763c28a42ec8e976.png'
const logoplain = 'https://qingclouds-server.oss-cn-shanghai.aliyuncs.com/1024.png'

const defaultHeadimg = 'https://qingclouds-server.oss-cn-shanghai.aliyuncs.com/b64c7a00d27c3120/2353fb21cf74fc7e.jpg'

const appid = 'hceUY6Vy0WhvhKMJ'
const secret = 'BSgrt05IGhUnriX7i0b4NXlQgC9TPG7v'

const devConf = {
  defaultHeadimg,
  isCustom,
  isDev,
  apiBaseUrl,
  build,
  logourl,
  logoplain,
  apiBaseHost,
  appid,
  secret
}

// Im相关配置
export const IM_WSS_URL = 'wss://zb.itour.fun/wss/'
export const IM_API_URL = 'https://zb.itour.fun'
export const IM_APPID = 'mMmOlBOTb9Gw'
export const IM_APPSECRET = 'Zo6kzxHRxwewWMtkGhbNjZ2v3De5eC'

export default devConf

export const staticUrl = 'https://zb.itour.fun'

export const orderCancelTime = 30 * 60 // 三十分钟



